﻿@using KRM.Core
@using KRM.Core.Library
@model IEnumerable<KRM.Core.tblTicketBlackList>

@{
    ViewBag.Title = "title";
}

<table class="table table-fix table-ticket">
    <thead>
        <tr>
            <th>Id</th>
            <th>EmailAddress</th>
            <th>User Added</th>
            <th>Date Created</th>
            <th>Delete</th>
        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model)
        {
            <tr>
                <td>@item.Id</td>
                <td>@item.EmailAddress</td>
                <td>@item.UserAdded.Username</td>
                <td>@item.DateCreated</td>
                <td><a  class="ticket-remove-attachment" title="Remove" onclick="RemoveBlackList(@item.Id,'@item.EmailAddress')">x</a></td>
            </tr>
        }
    </tbody>
</table>
